import { slug } from './js/slug';

window.addEventListener('load', function () {
    // 初始化 tooltips
    const tooltips = document.querySelectorAll('[data-bs-toggle="tooltip"]');
    for (let i = 0; i < tooltips.length; i++) {
        new bootstrap.Tooltip(tooltips[i]);
    }

    slug();
});
